home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / News Stacks / Jan.'91AMUG News™.cpt / Jan.'91AMUG News™ / card_5950.txt < prev    next >
Text File  |  1990-12-30  |  2KB  |  35 lines

  1. -- card: 5950 from stack: in.'91AMUG News‚Ñ¢
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3780
  5. -- name: Word
  6.  
  7.  
  8. -- part contents for background part 2
  9. ----- text -----
  10. 13
  11.  
  12. -- part contents for background part 9
  13. ----- text -----
  14. Prograph
  15.  
  16. -- part contents for background part 1
  17. ----- text -----
  18. Has it ever seemed strange to you that programming languages are based on text? Even on the Macintosh where everything is graphically oriented, programs are still written using text. There have been some attempts at graphic programming, but none have succeeded...until now. The product? Prograph. Even the name suggests graphic programming. My impressions? Read on.
  19.  
  20. A Picture Worth A Thousand Words 
  21. Prograph was developed from the beginning to be a graphical language. It does not stop there however. It seamlessly integrates the ability to write procedural code (like C and Pascal) with object-oriented code. You can choose which would be most appropriate for your task. You can even mix and match if the need arises. When you first start Prograph it opens several
  22.  
  23.  
  24.  
  25. -- part contents for background part 8
  26. ----- text -----
  27. ..........................By Mark Gardner
  28.  
  29. -- part contents for background part 10
  30. ----- text -----
  31. several empty windows. A click in the window creates an icon which can be named by typing under it just like naming files in the finder. Some icons are for methods, which are similar to functions and procedures in other languages and some are for object classes, which contain attributes and methods. Figure 1 shows the universal methods window containing several example methods supplied with the interpreter. The icon for methods represents a data flow diagram, a kind of flowchart for data. The icon also looks like it has several diagrams stacked together. This is to represent case structures which we will discuss more in depth later. As an example of Prograph programming, we will examine the
  32. recursive 
  33. factorial method 
  34. in greater detail.
  35.